package com.alibaba.citrus.ots.price.repository;

import com.epoch.app.otspricecenter.sdo.*;

/**
 * @author hanguo
 * @date 2021/10/14
 * @Description 促销活动及坎级信息活动同步服务层
 */
public interface ActivityWriteRepository {
    Boolean createActivityTitleData(ActivityTitleSDO activityTitleSDO);

    Boolean createActivityTermData(ActivityTermSDO activityTermSDO);

    Boolean createActivityClientRelationData(ActivityClientRelationSDO activityClientRelationSDO);

    Boolean createActivityTitleExtData(ActivityTitleExtSDO activityTitleExtSDO);

    Boolean createActivityTermItemRelationData(ActivityTermItemRelationSDO activityTermItemRelationSDO);

    Boolean createActivityTermGiftRelationData(ActivityTermGiftRelationSDO activityTermGiftRelationSDO);

    Boolean createSegmentedActivityTermData(SegmentedActivityTermSDO segmentedActivityTermSDO);

    Boolean createOperateJournalFlowData(OperateJournalFlowSDO operateJournalFlowSDO);

    Boolean updateActivityTitleData(ActivityTitleSDO activityTitleSDO);

    Boolean update(ActivityTermSDO sdo);

    Boolean createActivityUseRecord(ActivityUseRecordSDO sdo);

    Boolean deleteActivityUseRecord(ActivityUseRecordRelationSDO activityUseRecordRelationSDO);

    Boolean updateNotForVersion(ActivityTermSDO sdo);

    Boolean updateNotForVersion(ActivityTitleExtSDO sdo);

    Boolean updateActivityTitleExtOccupyQuantityAndFee(ActivityTitleExtSDO sdo);
}
